﻿#region Using

using CommunicationLibrary.TransportData.Enums;

#endregion

namespace CommunicationLibrary.Converter
{
    internal static class UnitTypeConverter
    {
        internal static UnitType Convert(GameLogic.External.UnitType otherType)
        {
            switch (otherType)
            {
                case GameLogic.External.UnitType.Farmer:
                    return UnitType.Farmer;

                default:
                    return UnitType.Militia;
            }
        }
    }
}